<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>demo1</title>
  </head>
  <body></body>
  <script src="../dist/axios.js"></script>

  <script>
    axios({
      method: 'get',
      url: '/user?ID=12345'
    }).then(res => {
      console.log(res);
    });

    axios.get('/user?ID=12345').then(res => {
      console.log(res);
    });
  </script>
</html>
